﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<fieldset>
<legend></legend>
<%using (Ajax.BeginForm("GetBigTable",
           new AjaxOptions
           {
               UpdateTargetId = "bigtable",
           }))
  { %>

            <input type="hidden" name="proc" value="<%=ViewData["Id"] %>" />
            <input type="hidden" name="d" value="<%=DateTime.Now %>" />

    <% foreach (ElectronicRecords.Models.Specialists s in ViewData["Spec"] as List<ElectronicRecords.Models.Specialists>)
       { %>

            <%=Html.RadioButton("spec", s.ID_Specialist)%>&nbsp<label><%=s.Firstname%>&nbsp<%=s.Lastname %>
            </label><br />

    <%} %>
    <br />
           &nbsp;&nbsp;&nbsp;&nbsp;  <input class="g-button" type="submit" value="Вывести карту записи к специалисту" />

<%} %>
</fieldset>


<div id="bigtable"></div>